<div class="ltem_select font12">
  <div class="sli <if condition="$Think.get.type eq ''">select</if>" data-href="{:query_url('Question/lists', array('type'=>'', 'sort_tit'=>'新发布'))}">新发布</div>
  <div class="sli <if condition="$Think.get.type eq '1'">select</if>" data-href="{:query_url('Question/lists', array('type'=>'1', 'sort_tit'=>'零回答'))}">零回答</div>
  <div class="sli <if condition="$Think.get.type eq '2'">select</if>" data-href="{:query_url('Question/lists', array('type'=>'2', 'sort_tit'=>'高悬赏'))}">高悬赏</div>
  <div class="sli <if condition="$Think.get.type eq '3'">select</if>" data-href="{:query_url('Question/lists', array('type'=>'3', 'sort_tit'=>'已解决'))}">已解决</div>
  <div class="sli <if condition="$Think.get.type eq '4'">select</if>" data-href="{:query_url('Question/lists', array('type'=>'4', 'sort_tit'=>'未解决'))}">未解决</div>
</div>

<script>
$(function(){
    $(".ltem_select>.sli").on('click', function () {
        var href = $(this).data('href');
        location.href = href;
    });
});
</script>
